home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue59 / Clinic / IBXTestU.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2000-05-30  |  743 b   |  38 lines

  1. unit IBXTestU;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   Grids, DBGrids, Db, IBDatabase, IBCustomDataSet, IBTable;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.     IBDatabase1: TIBDatabase;
  12.     IBTable1: TIBTable;
  13.     IBTransaction1: TIBTransaction;
  14.     DataSource1: TDataSource;
  15.     DBGrid1: TDBGrid;
  16.     procedure FormCreate(Sender: TObject);
  17.   private
  18.     { Private declarations }
  19.   public
  20.     { Public declarations }
  21.   end;
  22.  
  23. var
  24.   Form1: TForm1;
  25.  
  26. implementation
  27.  
  28. {$R *.DFM}
  29.  
  30. procedure TForm1.FormCreate(Sender: TObject);
  31. begin
  32.   IBDatabase1.DatabaseName :=
  33.     'D:\Program Files\InterBase Corp\InterBase\examples\database\Employee.gdb';
  34.   IBTable1.Open
  35. end;
  36.  
  37. end.
  38.